Density measurements

ABSTRACT

The output of a frequency domain density meter is linearized by feeding clock pulses via a first preset binary rate multiplier to a second binary rate multiplier whose gating logic is set by its own contents, thereby to effect squaring of the contents. Within one period of the density meter output, the output pulses from both binary rate multipliers are accumulated together, commencing when the contents of the second multiplier reach a preset value and until the end of the period. It is shown that the accumulated count can be arranged to represent a linear function of density.

United States Patent Ley [451 Apr. 11, R970 54] DENSITY MEASUREMENTS 3,414,720 12/]968 Battarel ..235/164 ,512,410 5 1970 V ..7 [72] Inventor: Anthony John Ley, Farnborough, England 3,52958 951970 S 3 22? 2 73 Assigneez Th sohrtron Elecronic Group Limited, 3,564,535 2/1971 Ward et 3]. ..235/197 X Farnborough, England Primary Examiner-Eugene G. Bot: [22] Flled' July 1970 Assistant Examiner-Jerry Smith [2]] Appl. No.: 54,136 AttrneyWilliam R. Sherman, Stewart F. Mooore, Jerry M.

Presson and Arnold, Roylance, Kruger and Durkee [30] Foreign Application Priority Data ABSTRACT July 17, 1969 Great Britain ..36,159/69 I The output of a frequency domain density meter rs linearized 52 us. Cl ass/151.3, 73/194 E, 235/1503, by feedmg i Pulses t t Preset 235/151 34 235/197 235/92 to a second bmary rate multiplier whose gatmg logic IS set by 51 I t Cl 2 15/56 G0 I 5/34 its own contents, thereby to effect squaring of the contents. 1 Within one period of the density meter output, the output pul- [58] Fleld of Search ..73/30, 32, 194 R, 194 E, 195, $65 from both binary rate multipliers are accumulated 73/206 438; 235/1503, 15031 1513 together, commencing when the contents of the second mul- 164, 150-53 tiplier reach a preset value and until the end of the period. It is shown that the accumulated count can be arranged to [56] References Cited represent a linear function of density.

UNITED STATES PATENTS 7 Claims, 2 l )rawing Figures 3,283,129 11/1966 Kelling ..235/164 X I ll amt 9 12 I7 1 r I4 DENSITY 8 i RESET J I lt I F/F SET ,6

dt JIA 62 n L l 6 fodt C2 GEARBOX I C1 GEARBOX f0 COUNTER H C 0 U N TE R GA kaoxf 22 26 (MA-v 24 DEM Y I 2 2 (3 *fAO 5 4 2 25 GfARBOX 2 t dr (7A {A COUNTER w m 17 L1 smr/c/sm E p FRiQ. T0 ANALOGUE 33 -31 32 GEARBOX f 52% COUNTER cow.

PATENTEDAPR 11 1972 3, 655.956

SHEET 2 OF 2 v e 31 h 4/ HOWMETER 1 K VOLTAGE /6 43 r0 Hem; w

Q40 42 cow MARK-51M MULTlPL/ER \44 f 1 1 Lt; where f, is the frequency at zero density and p, is a constant. Putting f= l/t, whence At= t l/f,,, we have from (l) P=Po( fl: 'J'O 2) It can readily be shown that equation (2), with suitably modified constants, is equally applicable to measuring Ap p p where p is a datum value other than zero, and similar comments apply to the equations next discussed.

Known gas density meters have a slightly more complex relationship:

2 Z ewi where p f, and f are constants.

Equation (3) can be manipulated to the form Equations (2) and (4) are identical in form and the object of this invention is to provide apparatus adapted to provide a digital measure of p (or Ap whensuch quadratic relationships exist.

The invention relies upon digital techniques and in particular upon binary rate multipliers. A binary rate multiplier is well known in the art (see for example The Digital Differential Analyser, edited by T. R. H. Sizer, Chapman and Hall, 1968), and comprises a binary counter with associated gating logic for selecting outputs from different combinations of stages of the counter, whereby the combined outputs from the selected stages provide a number of pulses which is'scaled down with reference to the number of input pulses by a factor determined by which combination of stages is selected. The gating or selection logic thus introduces a variable transmis sion ratio between the input pulses and the output pulses and, for this reason, in the subsequent detailed description, the term gearbox is used for this logic.

According to the invention, apparatus for providing a digital density measurement in response to a signal whose period t equals t Ar and where an equation of the form of (2) applies, comprises a first binary counter and first presettable gearbox operative in the first part of a period t to scale down clock pulses and provide output ulses to a second binary counter, the second counter having an associated second gearbox whose gates are selected by stages of the second counter itself, whereby the number of output pulses from the second gearbox is proportional to the square of the number of input pulses to the second counter, and a third binary counter arranged to count the total number of output pulses from the first and second gearboxes from the time that the number in the second counter reaches a predetermined value until the end of the period t.

The apparatus preferably also includes a buffer register or staticizer to which it is arranged to transfer the contents of the third counter at the end of the period t. The bufi'er register or staticizer can be used to select the gates of a third selection logic circuit associated'with a fourth counter to which are applied pulses from a flowmeter of the type which produces pulses at a rate proportional to the volume flow rate, whereby the 7 output pulses from the said third logic circuit represent mass flow rate. Such flowmeters are turbine flowmeters and positive displacement meters.

On the other hand, differential pressure meters provide a signal proportional to m, where h is the differential pressure. Such meters can be connected to a circuit which will provide pulses at a rate proportional to volume fiow rate, these pulses then being applied to the fourth counter.

A particular advantage of the invention lies in the ease with which the apparatus can be modified to deal with either equation (2) or (4). Thus in a development of the invention a fourth presettable selection logic circuit, additional to the said second logic circuit, is associated with the second counter and a fifth presettable selection logic circuit is associated with the third counter, each of these fourth and fifth circuits being so arranged that each output pulse therefrom prevents the next input pulse to the associated counter from being counted and each being arranged to be so operative only from the time that the number in the second counter reaches the predetermined value until the end of the period t. It will be shown below how this addition enables scaling factors to be introduced appropriate to whichever equation applies.

The invention will be further described, by way of example, with reference to the accompanying drawings, in which:

FIG. I is a block diagram of one embodiment of the inven tion, and

FIG. 2 shows a circuit for use in conjunction with FIG. 1 when a differential pressure type volume flow meter is used.

In FIG. 1 a known liquid or gas density meter 10 provides output pulses 11 with a repetition period of r. 1' will generally be too short to effect a satisfactory computation of p and therefore the pulses 11 are applied through an input amplifier 9 to a divide-by-N circuit 12, where N lies typically in the range 2 to 2 and can be preset depending upon the frequency band in which the meter 10 operates. The output pulses 13 from the circuit 12 have period t= N-r= t, +At and are applied to a conventional timing circuit 14 which produces two pulses at the end of each period t namely a staticise pulse on line 15 immediately followed by a reset pulse on line 16.

The staticize pulse causes the newly computed value of p to be transferred from a counter C to a staticizer or buffer register 17. The reset pulse then resets the counter C and also a counter C A crystal oscillator 18, running at lMl-lz for example, feeds pulses to a binary counter C, and these pulses represent the incremental time variable dt. The counter C, has an associated gearbox G, which is presettable (in known manner) to select gates therein and thereby set up the required value of f,,. The output pulses from the gearbox G, thus represent fl dt and are applied through a gate 19, which is necessarily open in this first phase of operation, to the counter C,, which thus accumulates f r. When the number in C reaches 1, we have t l/f,, i.e. t t,,. The counter C, then issues a pulse on line 20, which sets a bistable flip-flop 21. This flip-flop is reset by the reset pulse on line 16 and its set state therefore defines the interval At. During this interval, i.e. the second phase of operation, the flip-flop 21 opens two gates 22 and 23.

The gate 23 allows the output pulses from both the gearbox G, and a gearbox G, as combined by an OR gate 24 to pass through a gate 25 to the counter C,. A short (0.5p. s) delay 26 ensures that pulses from the two gearboxes are applied to the OR gate 24 out of phase, and thus cannot mask each other.

The counter C, has two gearboxes associated therewith, namely the abovementioned gearbox G and a gearbox G,. The gearbox G, is preset to a value (f,/f,, l) and each output pulse therefrom passes through the gate 22, when this is open during the second phase of operation. Each such output pulse inhibits the gate 19 and is timed to blank out one pulse in the signal f dt. The effect of this is that the input to the counter C becomes f dt instead of f dt.

This can be seen by putting the output of the gate 19 equal to A. It follows that A =f,,dt A(fl,/f,, 1) whence A =f,,dt.

The gearbox G is not a preset gearbox but the gates therein are selected by the more significant stages of the counter C and control the selection of outputs from the less significant stages of the counter C Since the input to the counter C in the second phase of operation is f dt and the counter thus accumulatesf t and since the gearbox 6' scales by f t the output pulses from the gearbox G represent ffldt. Therefore the pulses applied to the gate 25 represent (f t)dt.

The pulses applied to the counter C are caused to represent Zp (f f t)dt and therefore the count accumulated in the counter C represents p (2f t =f t Thus the counter performs an integrating function and we have The scaling factor 2p, in the input to the counter C is introduced by a gearbox G associated with the counter C and preset to a value (%p,, l). The output pulses from this gearbox are applied to inhibit the gate 25. If therefore the input to the counter C is put equal to B it follows that B m (f. +ffl) When equation (2) is appropriate rather than equation (4), it is merely necessary to set f =fl, and p, p Thus the gearbox G is preset to zero and the gearbox G is preset to /zp. l

whence it will be understood that the blanking function of the gearboxes 6' and G can be achieved by using each output pulse therefrom to set a corresponding bistable flip-flop which inhibits the corresponding gate 19 or 25. The next pulse arriving from the gearbox G or the gate 23 is unable to pass through the gate but it does reset the corresponding flip-flop so that only one pulse is blocked by the gate 19 or 25 as the case may be.

The value of p thus computed is held in the staticiser l7 during the following period and can be used as required. A direct binary readout is available on lines 28 which also control another gearbox G associated with the counter C,. The output pulses from the gearbox G represent pdt and are available on line 29 as a frequency analogue of the density value. The line 29 is also connected to a frequency to analogue converter 30 which provides an analogue signal representing p on an output line 31.

In order to determine mass flow the staticiser 17 also controls a gearbox G. whose associated counter C receives pulses through an amplifier 32 from a turbine or positive displacement flowmeter 33. The output pulses on a line 34 represent mass flow rate and are accumulated by a counter C to measure integrated mass flow. A frequency to analogue converter 35 provides an analogue output on line 36 representing either mass flow rate or volume flow rate, depending on the setting ofa switch 37.

If a differential pressure type (orifice late) flowmeter is used, volumetric flow rate dv/dt K p where K is a constant and h is the differential pressure. The input to the counter C. can then be provided by the circuit shown in FIG. 2. The flowmeter 40 provides an analogue signal h which is applied to one input of a differential amplifier 41. The output of this amplifier will be denoted x and is applied to a voltage to frequency converter 42. An analogue signal p from the line 31 (FIG. 1) is also applied to the converter 42 which is arranged to produce pulses on a line 43 representing x/p. The converter 42 can take various forms, e.g. an integrating circuit with negative feedback of a unit of charge every time the output exceeds a threshold level, the magnitude of the units of feedback charge being determined by the analogue voltage p and a pulse being provided on the line 43 every time a unit of charge is fed back. In other words the converter would be a well known type of digital voltmeter with p substituted for the customary reference voltage. Also, x and x/p are applied to a mark-space multiplier 44 which provides an analogue output x lp. This signal constitutes the other input to the differential amplifier 41 and accordingly the system stabilizes with h x lp and hence x /h p, which is proportional to p M, i.e. p(dv/dt), i.e. the mass flow rate. Therefore an analogue representation of mass flow rate can be obtained on a line 45 connected to the output of the differential amplifier 41 through an output amplifier 46. On the other hand the digital pulse rate signal on the line 43, namely .\'/p. is proportional to and can therefore be used as the (Iv/d! input to the counter C4.

Iclaim:

1. An apparatus for providing a digital representation of a fluid density measurement comprising a source of clock pulses; multiplier means including a first binary counter and first logic circuit means connected to said source of clock pulses for providing a first series of output pulses equal to the number of clock pulses multiplied by a factor; means including a second binary counter and second logic circuit means for accepting said first series of output pulses and for producing a second series of output pulses proportional in number to the square of the number of pulses in said first series; a third counter connected to receive and count the total number of pulses in said first and second series of pulses; and means connected to said third counter to permit counting thereby only during a preselected period.

2. Apparatus according to claim 1 wherein the fluid density measurement is in the form of a series of signals each having a period T and said preselected period during which said third counter counts is 1 less the time taken for said first counter to count a predetermined number of clock pulses, where NT and N is an integer.

3. Apparatus according to claim 2 wherein said apparatus further comprises a register, and means for transferring the contents of said third counter to said register at the end of each period t.

4. Apparatus according to claim 3 wherein said apparatus further comprises a fourth counter; logic circuit means associated with said fourth counter, said logic circuit means including means responsive to the contents of said register to place selected elements of said logic circuit means in operative states; and a source of pulses proportional to fluid flow rate, said pulses constituting an input to said fourth counter.

5. Apparatus for accepting an electrical signal representative of a fluid density measurement, the electrical signal having a period t r 66t and wherein the density p and the frequency of the electrical signal are in accordance with the relationship F P.) fa +ff and for providing a digital representation of the measurement, the apparatus comprising the combination of a source of clock pulses; means including a first binary counter and first logic circuit means connected to said source of clock pulses for providing a first series of output pulses equal to the number of clock pulses multiplied by a factor; means including a second binary counter and second logic circuit means for accepting said first series of output pulses and for producing a second series of output pulses proportional in number to the square of the number of pulses in said first series; a third counter connected to receive and count the total number of pulses in said first and second series of pulses; and means connected to said third counter to permit counting thereby only during the period 1 less the time taken for said first counter to count a predetermined number of clock pulses.

6. Apparatus according to claim 5, wherein said apparatus further comprises a register, and means for transferring the contents of said third counter to said register at the end of each period t, and wherein said apparatus further comprises a fourth counter; logic circuit means associated with said fourth counter, said logic circuit means including means responsive to the contents of said register to place selected elements of said logic circuit means in operative states; and a source of pulses proportional to fluid flow rate, said pulses constituting an input to said fourth counter.

when the number in said second counter reaches said predetermined value and ending at the end of the period I to prevent the next input pulse to the associated counter from being counted.

UNITED STATES PATENT OFFICE CERTIFICATE OF CORRECTION n Patent N o. 3,655,956 Dated pri 11, 1972 lnventofls') Anthony John Ley It is certified that error appears in the above-identified patent and that said Letters Patentare hereby corrected as shown below:

. On the cover sheet, [#5] "April 11, 1970" should Signed and sealed this 31st day of October 1972..

(SEAL) Attest:

EDWARD M.FLETCHER,JR. Attesting Officer ROBERT GO'I'ISCHALK Commissioner of Patents -ORM PO-10 0 USCOMM-DC 60376-P09 U.S. GOVERNMENT PRINTING OFFICE: 1969 0-366-384, 

1. An apparatus for providing a digital representation of a fluid density measurement comprising a source of clock pulses; multiplier means including a first binary counter and first logic circuit means connected to said source of clock pulses for providing a first series of output pulses equal to the number of clock pulses multiplied by a factor; means including a second binary counter and second logic circuit means for accepting said first series of output pulses and for producing a second series of output pulsEs proportional in number to the square of the number of pulses in said first series; a third counter connected to receive and count the total number of pulses in said first and second series of pulses; and means connected to said third counter to permit counting thereby only during a preselected period.
 2. Apparatus according to claim 1 wherein the fluid density measurement is in the form of a series of signals each having a period T and said preselected period during which said third counter counts is t less the time taken for said first counter to count a predetermined number of clock pulses, where t NT and N is an integer.
 3. Apparatus according to claim 2 wherein said apparatus further comprises a register, and means for transferring the contents of said third counter to said register at the end of each period t.
 4. Apparatus according to claim 3 wherein said apparatus further comprises a fourth counter; logic circuit means associated with said fourth counter, said logic circuit means including means responsive to the contents of said register to place selected elements of said logic circuit means in operative states; and a source of pulses proportional to fluid flow rate, said pulses constituting an input to said fourth counter.
 5. Apparatus for accepting an electrical signal representative of a fluid density measurement, the electrical signal having a period t to + 66t and wherein the density Rho and the frequency of the electrical signal are in accordance with the relationship Rho Rho o (2fo Delta t + fo2 Delta t2), and for providing a digital representation of the measurement, the apparatus comprising the combination of a source of clock pulses; means including a first binary counter and first logic circuit means connected to said source of clock pulses for providing a first series of output pulses equal to the number of clock pulses multiplied by a factor; means including a second binary counter and second logic circuit means for accepting said first series of output pulses and for producing a second series of output pulses proportional in number to the square of the number of pulses in said first series; a third counter connected to receive and count the total number of pulses in said first and second series of pulses; and means connected to said third counter to permit counting thereby only during the period t less the time taken for said first counter to count a predetermined number of clock pulses.
 6. Apparatus according to claim 5, wherein said apparatus further comprises a register, and means for transferring the contents of said third counter to said register at the end of each period t, and wherein said apparatus further comprises a fourth counter; logic circuit means associated with said fourth counter, said logic circuit means including means responsive to the contents of said register to place selected elements of said logic circuit means in operative states; and a source of pulses proportional to fluid flow rate, said pulses constituting an input to said fourth counter.
 7. Apparatus according to claim 5, comprising a first additional logic circuit means associated with said second counter and a second additional logic circuit means associated with said third counter, and means responsive to each output pulse from each additional means during the time commencing when the number in said second counter reaches said predetermined value and ending at the end of the period t to prevent the next input pulse to the associated counter from being counted. 